package com.buyantech.smweb.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import javacommon.base.BaseEntity;
/**
 * 积分兑换记录
 */

@Entity
@Table(name = "black")
public class Black extends BaseEntity implements java.io.Serializable {
	private static final long serialVersionUID = 5454155825314635342L;

	private String id;
	private String crdate;
	private String account;// 账号
	private String remark;//备注
	
	public static final String FORMAT_REGDATE = DATE_FORMAT;

	@Id
	@GeneratedValue(generator = "uuid-id")
	@GenericGenerator(name = "uuid-id", strategy = "uuid")
	@Column(name = "id", unique = true, nullable = false, insertable = true, updatable = true, length = 128)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getCrdate() {
		return crdate;
	}

	public void setCrdate(String crdate) {
		this.crdate = crdate;
	}


	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
